package com.yuyou.fn.educational.entity;

import java.io.Serializable;
import java.util.Date;

import com.github.wens.mybatisplus.annotations.TableField;
import com.github.wens.mybatisplus.annotations.TableId;
import com.github.wens.mybatisplus.annotations.TableName;
import com.github.wens.mybatisplus.examples.Example;

/**
 *
 * 班级讲
 *
 */
@TableName(value = "class_lecture")
public class ClassLecture implements Serializable {

	public enum AttendanceRoleEnum{
		人工,系统
	}

	@TableField(exist = false)
	private static final long serialVersionUID = 1L;

	public static Example<ClassLecture> createExample(){
		return new Example<ClassLecture>(ClassLecture.class);
	}

	/**  */
	@TableId(value = "class_lecture_id")
	private Long classLectureId;

	/** 班级ID */
	@TableField(value = "class_id")
	private Long classId;

	/**  */
	@TableField(value = "lecture_no")
	private Integer lectureNo;

	/** 老师ID */
	@TableField(value = "teacher_id")
	private Long teacherId;

	/** 教师姓名 */
	@TableField(value = "teacher_name")
	private String teacherName;

	/** 上课日期 */
	@TableField(value = "class_date")
	private Date classDate;

	/** 开始时间 */
	@TableField(value = "start_time")
	private String startTime;

	/** 结束时间 */
	@TableField(value = "end_time")
	private String endTime;

	/** 考勤时间 */
	@TableField(value = "attendance_time")
	private Date attendanceTime;

	/** 考勤状态 0:未考勤 1:已考勤 */
	@TableField(value = "attendance_status")
	private Integer attendanceStatus;

	/** 缺勤人数 */
	@TableField(value = "absence_amount")
	private Integer absenceAmount;

	/** 出勤人数 */
	@TableField(value = "attendance_amount")
	private Integer attendanceAmount;

	/** 总人数 */
	@TableField(value = "total_amount")
	private Integer totalAmount;

	/** 迟到人数 */
	@TableField(value = "late_amount")
	private Integer lateAmount;

	/** 请假人数 */
	@TableField(value = "leave_amount")
	private Integer leaveAmount;

	/**  */
	@TableField(value = "create_time")
	private Date createTime;

	/**  */
	@TableField(value = "update_time")
	private Date updateTime;

	/** 上课时间 */
	@TableField(value = "class_time")
	private Date classTime;

	/** 考勤角色，0：人工，1：系统 */
	@TableField(value = "attendance_role")
	private Integer attendanceRole;

	public Long getClassLectureId() {
		return this.classLectureId;
	}

	public void setClassLectureId(Long classLectureId) {
		this.classLectureId = classLectureId;
	}

	public Long getClassId() {
		return this.classId;
	}

	public void setClassId(Long classId) {
		this.classId = classId;
	}

	public Integer getLectureNo() {
		return this.lectureNo;
	}

	public void setLectureNo(Integer lectureNo) {
		this.lectureNo = lectureNo;
	}

	public Long getTeacherId() {
		return this.teacherId;
	}

	public void setTeacherId(Long teacherId) {
		this.teacherId = teacherId;
	}

	public String getTeacherName() {
		return this.teacherName;
	}

	public void setTeacherName(String teacherName) {
		this.teacherName = teacherName;
	}

	public Date getClassDate() {
		return this.classDate;
	}

	public void setClassDate(Date classDate) {
		this.classDate = classDate;
	}

	public String getStartTime() {
		return this.startTime;
	}

	public void setStartTime(String startTime) {
		this.startTime = startTime;
	}

	public String getEndTime() {
		return this.endTime;
	}

	public void setEndTime(String endTime) {
		this.endTime = endTime;
	}

	public Date getAttendanceTime() {
		return this.attendanceTime;
	}

	public void setAttendanceTime(Date attendanceTime) {
		this.attendanceTime = attendanceTime;
	}

	public Integer getAttendanceStatus() {
		return this.attendanceStatus;
	}

	public void setAttendanceStatus(Integer attendanceStatus) {
		this.attendanceStatus = attendanceStatus;
	}

	public Integer getAbsenceAmount() {
		return this.absenceAmount;
	}

	public void setAbsenceAmount(Integer absenceAmount) {
		this.absenceAmount = absenceAmount;
	}

	public Integer getAttendanceAmount() {
		return this.attendanceAmount;
	}

	public void setAttendanceAmount(Integer attendanceAmount) {
		this.attendanceAmount = attendanceAmount;
	}

	public Integer getTotalAmount() {
		return this.totalAmount;
	}

	public void setTotalAmount(Integer totalAmount) {
		this.totalAmount = totalAmount;
	}

	public Integer getLateAmount() {
		return this.lateAmount;
	}

	public void setLateAmount(Integer lateAmount) {
		this.lateAmount = lateAmount;
	}

	public Integer getLeaveAmount() {
		return this.leaveAmount;
	}

	public void setLeaveAmount(Integer leaveAmount) {
		this.leaveAmount = leaveAmount;
	}

	public Date getCreateTime() {
		return this.createTime;
	}

	public void setCreateTime(Date createTime) {
		this.createTime = createTime;
	}

	public Date getUpdateTime() {
		return this.updateTime;
	}

	public void setUpdateTime(Date updateTime) {
		this.updateTime = updateTime;
	}

	public Date getClassTime() {
		return this.classTime;
	}

	public void setClassTime(Date classTime) {
		this.classTime = classTime;
	}

	public Integer getAttendanceRole() {
		return this.attendanceRole;
	}

	public void setAttendanceRole(Integer attendanceRole) {
		this.attendanceRole = attendanceRole;
	}

}
